//
//  JHAssetsManager.h
//  JHAssetsPhotoPickerViewController
//
//  Created by admin on 15/11/16.
//  Copyright © 2015年 mohe. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Photos/Photos.h>

@interface JHAssetsManager : NSObject

+ (instancetype)defaultManager;

+ (CGSize)sizeOfPreview;
+ (PHImageRequestOptions *)previewRequestOptions;
+ (PHImageRequestOptions *)thumbnailRequestOptions;
//缩略图
- (void)thumbnailWithAsset:(PHAsset *)asset size:(CGSize)size completion:(void (^)(UIImage *image))completion;
//预览图
- (void)previewWithAsset:(PHAsset *)asset completion:(void (^)(UIImage *image))completion;
@end
